CXXFLAGS =	-O2 -g -Wall -fmessage-length=0

OBJS_SERV =		server.o 
OBJS_CLI = 			client.o

LIBS =

TARGETS =	server client

server: server.o
	$(CXX) -o server $(OBJS_SERV) $(LIBS)

client: client.o
	$(CXX) -o client $(OBJS_CLI) $(LIBS)

all:	$(TARGETS)
	@echo "Finished."

clean:
	rm -f *.o $(TARGETS)
	